﻿using System;

// Token: 0x020001BF RID: 447
public class CutAct_NextScene : CutAction
{
	// Token: 0x06000B94 RID: 2964 RVA: 0x00043BA0 File Offset: 0x00041DA0
	public CutAct_NextScene(CutScene cutScene) : base(cutScene, CUTACT.NEXTSCENE)
	{
	}

	// Token: 0x06000B95 RID: 2965 RVA: 0x00043BB8 File Offset: 0x00041DB8
	public CutAct_NextScene(CutScene cutScene, float time, string scene, string message) : base(cutScene, CUTACT.NEXTSCENE, time)
	{
		this.scene = scene;
		this.message = message;
	}

	// Token: 0x06000B96 RID: 2966 RVA: 0x00043BE0 File Offset: 0x00041DE0
	public override object Clone()
	{
		return new CutAct_NextScene(this.cutScene);
	}

	// Token: 0x06000B97 RID: 2967 RVA: 0x00043BF0 File Offset: 0x00041DF0
	public override void Load(TagText.Element element, int order)
	{
		this.fadeTime = -1f;
		base.Load(element, order);
		this.scene = TagTextUtility.Load_String(element, "scene", 0);
		this.message = TagTextUtility.Load_String(element, "scene", 1);
		TagTextUtility.Load_Float(ref this.fadeTime, element, "scene", 2);
	}

	// Token: 0x06000B98 RID: 2968 RVA: 0x00043C48 File Offset: 0x00041E48
	public override void Save(TagText.Element element)
	{
		base.Save(element);
		element.AddAttribute("scene", this.scene);
		element.AddAttribute("scene", this.message);
	}

	// Token: 0x06000B99 RID: 2969 RVA: 0x00043C74 File Offset: 0x00041E74
	public override void Action(bool skip)
	{
		this.cutScene.NextScene(this.scene, this.message, -1f);
	}

	// Token: 0x04000BCB RID: 3019
	public string scene;

	// Token: 0x04000BCC RID: 3020
	public string message;

	// Token: 0x04000BCD RID: 3021
	public float fadeTime = -1f;
}
